package com.xwb.domain;

import lombok.Data;

/**
 * 该类是为了查询同队的成员和导师设置的，要设置两个对象都有的属性
 */
@Data
public class MemberWithTutor {
    private String competitionId;
    private String teamNumber;
    private String memberName;
    private String teamName;
    private String memberPosition;
    private String userId;
    private String memberPhoneNumber;
    private String memberCollege;
    private String memberClass;
    private String tutorName;
    private String tutorCollege;
    private String tutorPhoneNumber;

    @Override
    public String toString() {
        return "MemberWithTutor{" +
                "competitionId='" + competitionId + '\'' +
                ", teamNumber='" + teamNumber + '\'' +
                ", memberName='" + memberName + '\'' +
                ", memberPosition='" + memberPosition + '\'' +
                ", userId='" + userId + '\'' +
                ", memberPhoneNumber='" + memberPhoneNumber + '\'' +
                ", memberCollege='" + memberCollege + '\'' +
                ", memberClass='" + memberClass + '\'' +
                ", tutorName='" + tutorName + '\'' +
                ", tutorCollege='" + tutorCollege + '\'' +
                ", tutorPhoneNumber='" + tutorPhoneNumber + '\'' +
                '}' + "\n";
    }
}
